import {socket} from "@/api/sock";

export default {
    name: "Hub",

    fetchRemoteModelList() {
        socket.emit('model_list_request');
    },

    fetchRemoteModelDetailList(modelList) {
        socket.emit('model_detail_list_request', modelList);
    },

    submitModelSettingList(settings) {
        socket.emit('model_start_releasing', settings)
    },

    uploadFiles(files) {
        console.log('\r\n(((((((((((((((((((((((\r\n')
        console.log(files)
        console.log('\r\n)))))))))))))))))))))))\r\n')
        socket.emit('model_start_uploading', files)
    }
}